package com.sl.au.entity;

import javax.persistence.*;

import java.util.Date;

/**
 * 投诉建议实体表 
 */
/**
 * @author asus1
 *
 */
@Entity
@Table(name = "sl_crm_afterSaleComplain")
public class AfterSaleComplain extends Root{
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	/**客户名称*/
    @Column(name = "sCustomerName")
    private String customerName;  
    /**合同号*/
    @Column(name = "sContractID")
    private String contractID;
    /**地址*/
    @Column(name = "sAddress")
    private String address;
    /** 电话*/
    @Column(name = "sPhone")
    private String phone;
    /** 传真 */
    @Column(name = "sFax")
    private String fax;
    /** 联系人 */
    @Column(name = "nContact")
    private String contact;
    /** 意见 */
    @Column(name = "sAdvice")
    private String advice;
    /** 质量 */
    @Column(name = "sQuality")
    private String quality;
    /** 交货期 */
    @Column(name = "sDate")
    private String date;
    /** 售后服务 */
    @Column(name = "sAfterService")
    private String afterService;
    /** 创建时间 */
    @Column(name = "dTime")
    private Date time;
    /** 备注 */
    @Column(name = "sMemo")
    private String memo;
    /** 附件数*/
    @Transient
    private Integer attachCount;
    
    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getAfterService() {
        return afterService;
    }

    public void setAfterService(String afterService) {
        this.afterService = afterService;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getContractID() {
        return contractID;
    }

    public void setContractID(String contractID) {
        this.contractID = contractID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

	public Integer getAttachCount() {
		return attachCount;
	}

	public void setAttachCount(Integer attachCount) {
		this.attachCount = attachCount;
	}
    
}
